//
//  AddNewPersonViewController.h
//  BVCMS
//
//  Created by Allen Thomas on 11/9/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface AddNewPersonViewController : UIViewController<UITableViewDelegate, UITableViewDataSource, UITextFieldDelegate> {
	NSMutableArray *fields;	
	NSMutableArray *cells;
	NSDictionary *person;
	IBOutlet UITableView* theTableView;
	UITextField *actifText;
	
}
@property (nonatomic, retain) NSDictionary *person;
@property (nonatomic, retain) UITableView *theTableView;
@property (nonatomic, retain) IBOutlet UITextField *actifText;

- (UITableViewCell *) createCell:(int)row;
- (BOOL)checkFields;
- (void)commit:(id)sender;

-(IBAction)textFieldDidBeginEditing:(UITextField *)textField;
-(IBAction)textFieldDidEndEditing:(UITextField *)textField;

-(void) keyboardWillHide:(NSNotification *)note;
-(void) keyboardWillShow:(NSNotification *)note;


@end
